package com.github.m6d21.sso.common.util;

import java.util.Date;

/**
 *<p>
 *请求追踪ID生成工具类
 *</p>
 *
 * @author liuyang
 * @date 2018-12-05 Wed 23:39:34
 * @since 1.0.0
 */
public class TraceUtil {

    private TraceUtil() {
    }

    public static String getTraceId() {
        Long timestamp = (new Date()).getTime();
        return Integer.toHexString(timestamp.intValue());
    }
}
